home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmigaPlus / Tools / Development / renderlib40 / src / rnd_alpha.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-12-15  |  927 b   |  19 lines

  1.  
  2. #ifndef _RND_ALPHA_H
  3. #define _RND_ALPHA_H
  4.  
  5. #include <utility/tagitem.h>
  6. #include <exec/memory.h>
  7. #include <exec/nodes.h>
  8. #include "rnd_palette.h"
  9.  
  10. LIBAPI void InsertAlphaChannelA(UBYTE *chunky, UWORD width, UWORD height, ULONG *rgb, struct TagItem *tags);
  11. LIBAPI void ExtractAlphaChannelA(ULONG *rgb, UWORD width, UWORD height, UBYTE *chunky, struct TagItem *tags);
  12. LIBAPI void ApplyAlphaChannelA(ULONG *src, UWORD width, UWORD height, ULONG *dst, struct TagItem *tags);
  13. LIBAPI void MixRGBArrayA(ULONG *src, UWORD width, UWORD height, ULONG *dst, UWORD ratio, struct TagItem *tags);
  14. LIBAPI void CreateAlphaArrayA(ULONG *rgb, UWORD width, UWORD height, struct TagItem *tags);
  15. LIBAPI void MixAlphaChannelA(ULONG *rgb1, ULONG *rgb2, UWORD width, UWORD height, ULONG *dest, struct TagItem *tags);
  16. LIBAPI void TintRGBArrayA(ULONG *src, UWORD width, UWORD height, ULONG rgb, UWORD ratio, ULONG *dest, struct TagItem *tags);
  17.  
  18. #endif
  19.